import 'package:flutter/material.dart';

/// 字体App
class HintTextFieldApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(primarySwatch: Colors.red),
      home: Scaffold(
        appBar: AppBar(
          title: Text("Font App"),
        ),
        body: Center(
            child: TextField(
          decoration: InputDecoration(hintText: "请输入姓名"),
        )),
      ),
    );
  }
}
